#!/usr/bin/env bash

base_path=$(dirname $0)
#echo ${base_path}

mysql -uroot -proot -hhadoop2<${base_path}/select_mid_coupon_all.sql
